<?php if(!defined('THINKAPK_PATH')) exit();?>
<div class="body mtop">
	<div class="w280 fl">
    	<script>ThinkAPK.AD('listlefttop');</script>
        <div class="box">
        	<h3>应用分类</h3>
            <div class="content">
            <ul class="app_left_nav">
            <volist name="appNav" id="app_nav">
            <li><a href="{$app_nav.url}" title="{$app_nav.name}"<?php if($cat_id == $app_nav['id']):?> class="cur"<?php endif;?>>{$app_nav.name}&nbsp;(<b>{$app_nav.total}</b>)</a></li>
            </volist>
            </ul>
            </div>
        </div>
        <div class="box mtop download-top">
        	<h3><span class="fr" style="padding-right:19px;"><a href="{:U('thinkapk://top/index')}" target="_blank" title="更多Android应用下载排行">更多.</a></span>本类排行</h3>
            <div class="content">
            	<ul class="app-tops">
                <volist name="tops" id="all">
                	<li class="on<?php if($key==0):?> none<?php else:?><?php if(($key+1)%2==0):?> odds<?php endif;?><?php endif;?>"><a href="{$all.url}" target="_blank" class="i<?php echo $key+1;?>"><span class="fr">下载：{$all.total}</span>{:sub_str($all['short_title'], 15)}</a></li>
                	<li class="cur<?php if($key!=0):?> none<?php endif;?><?php if(($key+1)%2==0):?> odds<?php endif;?>">
                	<span class="fr"><a href="{$all.url}" target="_blank" class="down">下载</a></span>
                    <a href="{$all.url}" target="_blank" title="{$all.short_title}"><img src="{$all.icon}" class="icon" align="left" /></a>
                    <a href="{$all.url}" target="_blank">{:sub_str($all['short_title'], 10)}</a><br />
                    已下载：{$all.total}次
                    </li>
                </volist>
                </ul>
            </div>
        </div>
        <script>
	   $(".app-tops li.cur").ThinkAPKTab({thumbObj: '.app-tops li.on', slideTime:0, changeType: 'slide', thumbNowClass: 'none', autoChange: false});
	   ThinkAPK.AD('apptopsbottom');
	   </script>
    </div>
    <div class="w690 fr">
    	<div class="box-3 list-box">
        	<h3>
            {$catinfo.cat_name}<span class="total">(本类共有应用 <b>{$total}</b> 个)</span>
            <ul>
            <volist name="sortOrder" id="sorts">
            <li><a href="{$sorts.url}" title="{$sorts.name}"<?php if($options['dsc'] == $key):?> class="cur"<?php endif; ?>>{$sorts.name}</a></li>
            </volist>
            </ul>
            </h3>
            <div class="content">
                <volist name="app_list" id="lists">
                <dl<?php if(($key+1)%2==0):?> class="odd"<?php endif;?>>
                	<dt><a href="{$lists.url}" target="_blank" title="{$lists.title}"><img src="{$lists.icon}" class="icon" alt="{$lists.title}" /></a></dt>
                    <dd>
                        <h4><span>{$lists.short_desc}</span><a href="{$lists.url}" target="_blank" title="{$lists.title}">{$lists.title}</a></h4>
                        <p><a href="{$lists.url}" target="_blank">{$lists.goods_brief}...</a></p>
                        <p><span class="recd fr">推荐：<em class="star{$lists.recommend}">&nbsp;</em></span><span class="red">{$lists.time}</span><span class="down_total">下载次数：{$lists.down_total} 次</span><span class="down_total">好：{$lists.good}</span><span class="down_total">不好：{$lists.bad}</span></p>
                    </dd>
                </dl>
                </volist>
                
                <div id="page-div" class="mtop">
                {$pageshow}
                </div>
            </div>
        </div>
    </div>
</div>